home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
xabacus.z
/
xabacus
/
man
/
catn
/
xabacus.n
Wrap
Text File
|
1994-09-27
|
4KB
|
133 lines
ABACUS(6) GAMES AND DEMOS 7 May 1994, V4
NAME
X ABACUS - Yet another X widget
SYNOPSIS
xabacus [-display <display>] [-geometry <geometry>] [-bars
<int>] [-spaces <int>] [-bead <color>] [-{background | bg}
<color>] [-{foreground | fg} <color>] [-tnumber <int>] [-
bnumber <int>] [-tfactor <int>] [-bfactor <int>] [-
[no]torient] [-[no]borient]
DESCRIPTION
One of the motivations of this abacus program is simplicity.
This was originally a demonstration that I could write a
window program.
Use "mouse-left" to move beads. Note you can move them fas-
ter by holding down the button and sweeping across beads.
Use "mouse-right", "C",or "c" to clear. "Q", "q", or
"CTRL-C" keys kill program.
OPTIONS
-display _h_o_s_t:_d_p_y
This option specifies the X server to contact.
-geometry {+|-}_X{+|-}_Y
This option sets the initial position of the abacus
window (resource name "_g_e_o_m_e_t_r_y").
-{background | bg} _c_o_l_o_r
This option specifies the background of the abacus
window (resource name "_b_a_c_k_g_r_o_u_n_d").
-{foreground | fg} _c_o_l_o_r
This option specifies the foreground of the abacus
window (resource name "_f_o_r_e_g_r_o_u_n_d").
-bead _c_o_l_o_r
This option specifies the foreground of the beads
(resource name "_b_e_a_d_C_o_l_o_r").
-bars _i_n_t
This option specifies the number of bars (resource
name "_b_a_r_s").
-spaces _i_n_t
This option specifies the number of spaces (resource
name "_s_p_a_c_e_s").
-tnumber _i_n_t
This option specifies the number of beads on top
(resource name "_t_o_p_N_u_m_b_e_r").
Chinese 1
ABACUS(6) GAMES AND DEMOS 7 May 1994, V4
-bnumber _i_n_t
This option specifies the number of beads on bottom
(resource name "_b_o_t_t_o_m_N_u_m_b_e_r").
-tfactor _i_n_t
This option specifies the multiply factor for the
beads on top (resource name "_t_o_p_F_a_c_t_o_r").
-bfactor _i_n_t
This option specifies the multiply factor for the
beads on bottom (resource name "_b_o_t_t_o_m_F_a_c_t_o_r").
-[no]torient
This option specifies the orientation of the beads
on top (resource name "_t_o_p_O_r_i_e_n_t").
-[no]borient
This option specifies the orientation of the beads
on bottom (resource name "_b_o_t_t_o_m_O_r_i_e_n_t").
SEE ALSO
X(1), xrubik(1), xpyramid(1), xoct(1), xskewb(1), xcubes(1),
xtriangles(1), xhexagons(1)
COPYRIGHTS
(Reg.) Copyright 1994, David Albert Bagley
BUG REPORTS AND PROGRAM UPDATES
Send bugs (or their reports, or fixes) to the author
David Albert Bagley, <_b_a_g_l_e_y_d@_s_o_u_r_c_e._a_s_s_e_t._c_o_m>
The most updated source could be found on _f_t_p._x._o_r_g under
/_c_o_n_t_r_i_b/_a_p_p_l_i_c_a_t_i_o_n_s.
ACKNOWLEDGEMENTS
Thanks go to people who helped me in improving the program.
Chinese 2